phpDocumentor Web Commons
[ class tree: Web Commons ] [ index: Web Commons ] [ all elements ]

Element index for package Web Commons

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ m ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ v ] [ _ ]

_

_

__construct
in file persistence.php, method DataSource::__construct()
    Refer to PDO for details about this constructor.
__construct
in file view.php, method FileBasedTemplate::__construct()
__construct
in file config.php, method IniFileConfig::__construct()
    Throws a MisconfigurationException if the file is missing, could not be read or parsed.
__construct
in file model.php, method Entity::__construct()
__construct
in file controller.php, method ActionException::__construct()
__get
in file environment.php, method AbstractContext::__get()
    Returns the object/scalar/array/whatever created by the method "createXxx" where "Xxx" = ucfirst($attr). If no such method exists, a ContextException is thrown.
__get
in file model.php, method Entity::__get()
    Returns the value of the attribute $attr.
__set
in file model.php, method Entity::__set()
    Returns the value of the attribute $attr.
a

a

AbstractContext
in file environment.php, class AbstractContext
    Offers read-only properties related to application context.
AbstractController
in file controller.php, class AbstractController
    Defines a common base for web controllers.
AbstractDAO
in file persistence.php, class AbstractDAO
    Serves as a basis for a PDO DAO.
ActionException
in file controller.php, class ActionException
    Exception thrown when an action ran by runAction() thrown an exception
ActionNotFoundException
in file controller.php, class ActionNotFoundException
    Exception thrown when the requested action could not be found.
add
in file view.php, method SlotHolder::add()
    Adds a slot.
array_get_default
in file utils.php, function array_get_default()
    Returns the value held by an $array at a given $key, or $default if this $key does not exist.
array_merge_two_dimensional
in file utils.php, function array_merge_two_dimensional()
    Merges two two-dimensional arrays.
c

c

close
in file view.php, method SlotHolder::close()
    Stores the previously opened slot. Throws a SlotException if no slot is open.
Config
in file config.php, class Config
    Provides an access to configuration sections and items.
config.php
procedural page config.php
ContextException
in file environment.php, class ContextException
    Exception thrown when a requested attribute is missing in a Context object.
controller.php
procedural page controller.php
crashIfExists
in file view.php, method SlotHolder::crashIfExists()
    Throws a SlotException if slot $name exists.
crashIfOpen
in file view.php, method SlotHolder::crashIfOpen()
    If a slot is open, terminates the output buffer and throws a SlotException.
d

d

DataSource
in file persistence.php, class DataSource
    Offers connectivity to databases.
e

e

Entity
in file model.php, class Entity
    Generic attribute container class.
environment.php
procedural page environment.php
execute
in file persistence.php, method AbstractDAO::execute()
    Prepares and executes a SQL $statement within the connection
exist
in file view.php, method SlotHolder::exist()
    Returns True if slot $name exists, False otherwise.
f

f

FileBasedTemplate
in file view.php, class FileBasedTemplate
    Represents a template described by a PHP/HTML file.
fromArray
in file model.php, method Entity::fromArray()
    Sets the value of attributes according to an associative array.
g

g

get
in file environment.php, method Request::get()
    Returns the GET parameter corresponding to $key, or $default if this key is not defined.
get
in file environment.php, method HTTPRequest::get()
    (non-PHPdoc)
getItem
in file config.php, method Config::getItem()
    Returns a configuration $item from a $section
getItem
in file config.php, method IniFileConfig::getItem()
    (non-PHPdoc)
getOrCrash
in file view.php, method SlotHolder::getOrCrash()
    Returns the slot $name.
getOrDefault
in file view.php, method SlotHolder::getOrDefault()
    Returns the value of slot $name if it exists, the default value otherwise.
getRequest
in file controller.php, method AbstractController::getRequest()
getSection
in file config.php, method Config::getSection()
    Returns an array containing values defined inside $section
getSection
in file config.php, method IniFileConfig::getSection()
    (non-PHPdoc)
h

h

HTTPRequest
in file environment.php, class HTTPRequest
    A request that fits a standard web environment.
hydrate
in file persistence.php, method AbstractDAO::hydrate()
    Interprets row data.
i

i

IniFileConfig
in file config.php, class IniFileConfig
    A configuration built with a .ini file.
insertAndReturnId
in file persistence.php, method AbstractDAO::insertAndReturnId()
    Executes an insert statement and returns the last insert id.
isOpen
in file view.php, method SlotHolder::isOpen()
    Returns True if a slot is opened.
l

l

loader.php
procedural page loader.php
load_extensible_ini_file
in file utils.php, function load_extensible_ini_file()
    Loads an ini file using http://www.php.net/parse_ini_file, merging its data with a parent ini file if "extends" is defined at the root of the ini file.
m

m

method
in file environment.php, method Request::method()
    Returns the request method, uppercased.
method
in file environment.php, method HTTPRequest::method()
    (non-PHPdoc)
MisconfigurationException
in file config.php, class MisconfigurationException
    Exception thrown when the configuration could not be read or when a requested configuration item is missing.
model.php
procedural page model.php
n

n

NoMoreRowException
in file persistence.php, class NoMoreRowException
    Exception thrown when there is no more row to build
o

o

open
in file view.php, method SlotHolder::open()
    Opens a slot. Its contents will be the text printed until a call to SlotHolder::close() is issued.
p

p

persistence.php
procedural page persistence.php
post
in file environment.php, method Request::post()
    Returns the POST parameter corresponding to $key, or $default if this key is not defined.
post
in file environment.php, method HTTPRequest::post()
    (non-PHPdoc)
r

r

render
in file view.php, method FileBasedTemplate::render()
    (non-PHPdoc)
render
in file view.php, method Template::render()
    Renders the given object/value.
Request
in file environment.php, class Request
    Provides access to request parameters.
runAction
in file controller.php, method AbstractController::runAction()
    Finds the action named "do_$action" and runs it with the $request object.
s

s

select
in file persistence.php, method AbstractDAO::select()
    Executes a statement and maps the resulting rows with AbstractDAO::hydrate().
setDataSource
in file persistence.php, method AbstractDAO::setDataSource()
setRequest
in file controller.php, method AbstractController::setRequest()
SlotException
in file view.php, class SlotException
    Exception thrown when an errors occurs with slots.
SlotHolder
in file view.php, class SlotHolder
    Holds several slots.
t

t

Template
in file view.php, class Template
    Renders an associative array.
toArray
in file model.php, method Entity::toArray()
    Returns the attributes of this class in an associative array.
u

u

utils.php
procedural page utils.php
v

v

view.php
procedural page view.php

Documentation generated on Fri, 16 Jul 2010 00:48:39 +0200 by phpDocumentor 1.4.3